Release 10.1A: OpenEdge Development:
ADM Reference


viewPage

Procedure that views a new page without hiding the current page. You should run this from application code when you want a user to view a new page that is a separate SmartWindow. viewPage runs changePage to view (and if necessary create) the new SmartWindow, but does not hide the objects on the current page, since they are in a separate window that can be viewed at the same time.

Location: containr.p

Parameters:

INPUT piPageNum AS INTEGER Notes:

/* In this example, a SmartWindow has been placed onto page 5 of a 
   containing SmartWindow. When a button is pressed, viewPage views the 
   subwindow without hiding anything or changing the current page on the 
   main SmartWindow. */ 
ON CHOOSE OF Btn_SubWin 
DO: 
  RUN viewPage(5). 
END. 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095